﻿<Window x:Class="Pit.ControlWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ControlWindow" Height="300" Width="450"
				Slider.ValueChanged="Window_ValueChanged"
				KeyDown="Window_KeyDown"
				Loaded="Window_Loaded"
				Topmost="True">
	<Grid Margin="5">
		<Grid.RowDefinitions>
			<RowDefinition/>
			<RowDefinition/>
			<RowDefinition/>
			<RowDefinition/>
			<RowDefinition/>
			<RowDefinition/>
			<RowDefinition/>
			<RowDefinition/>
			<RowDefinition/>
			<RowDefinition/>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto"/>
			<ColumnDefinition Width="250"/>
			<ColumnDefinition Width="*"/>
		</Grid.ColumnDefinitions>

		<Grid.Resources>
			<Style TargetType="Slider">
				<Setter Property="Grid.Column" Value="1"/>
				<Setter Property="Margin" Value="5,0"/>
			</Style>
			<Style TargetType="TextBlock">
				<Setter Property="VerticalAlignment" Value="Center"/>
			</Style>
		</Grid.Resources>

		<TextBlock Text="GPS Enlem"
							 Grid.Row="0"/>
		<Slider x:Name="myGPSLat" Grid.Row="0"
						Minimum="38.433657"
						Maximum="38.435069"/>
		<TextBlock Text="{Binding ElementName=myGPSLat, Path=Value}"
							 Grid.Row="0" Grid.Column="2"/>

		<TextBlock Text="GPS Boylam"
							 Grid.Row="1"/>
		<Slider x:Name="myGPSLong" Grid.Row="1"
						Minimum="27.270942"
						Maximum="27.27504"/>
		<TextBlock Text="{Binding ElementName=myGPSLong, Path=Value}"
							 Grid.Row="1" Grid.Column="2"/>

		<TextBlock Text="Hız"
							 Grid.Row="2"/>
		<Slider x:Name="myHiz" Grid.Row="2"
						Minimum="0"
						Maximum="100"/>
		<TextBlock Text="{Binding ElementName=myHiz, Path=Value}"
							 Grid.Row="2" Grid.Column="2"/>

		<TextBlock Text="Akü"
							 Grid.Row="3"/>
		<Slider x:Name="myAku" Grid.Row="3"
						Minimum="0"
						Maximum="100"/>
		<TextBlock Text="{Binding ElementName=myAku, Path=Value}"
							 Grid.Row="3" Grid.Column="2"/>

		<TextBlock Text="Akü Sıcaklık"
							 Grid.Row="4"/>
		<Slider x:Name="myAkuSicaklik" Grid.Row="4"
						Minimum="0"
						Maximum="80"/>
		<TextBlock Text="{Binding ElementName=myAkuSicaklik, Path=Value}"
							 Grid.Row="4" Grid.Column="2"/>

		<TextBlock Text="Panel Sıcaklık"
							 Grid.Row="5"/>
		<Slider x:Name="myPanelSicaklik" Grid.Row="5"
						Minimum="0"
						Maximum="80"/>
		<TextBlock Text="{Binding ElementName=myPanelSicaklik, Path=Value}"
							 Grid.Row="5" Grid.Column="2"/>

		<TextBlock Text="PV V"
							 Grid.Row="6"/>
		<Slider x:Name="myPV_V" Grid.Row="6"
						Minimum="0"
						Maximum="80"/>
		<TextBlock Text="{Binding ElementName=myPV_V, Path=Value}"
							 Grid.Row="6" Grid.Column="2"/>

		<TextBlock Text="PV A"
							 Grid.Row="7"/>
		<Slider x:Name="myPV_A" Grid.Row="7"
						Minimum="0"
						Maximum="60"/>
		<TextBlock Text="{Binding ElementName=myPV_A, Path=Value}"
							 Grid.Row="7" Grid.Column="2"/>

		<TextBlock Text="Akü V"
							 Grid.Row="8"/>
		<Slider x:Name="myAku_V" Grid.Row="8"
						Minimum="0"
						Maximum="80"/>
		<TextBlock Text="{Binding ElementName=myAku_V, Path=Value}"
							 Grid.Row="8" Grid.Column="2"/>

		<TextBlock Text="Akü A"
							 Grid.Row="9"/>
		<Slider x:Name="myAku_A" Grid.Row="9"
						Minimum="-60"
						Maximum="60"/>
		<TextBlock Text="{Binding ElementName=myAku_A, Path=Value}"
							 Grid.Row="9" Grid.Column="2"/>

	</Grid>
</Window>
